package com.ruoyi.cderp.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单支付方式对象 tbl_order_pay_type
 *
 * @author ruoyi
 * @date 2025-03-20
 */
public class TblOrderPayType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 订单ID */
    @Excel(name = "订单ID")
    private String orderId;

    /** 支付方式ID */
    @Excel(name = "支付方式ID")
    private String payTypeId;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal payAmount;

    /** 支付内容 */
    @Excel(name = "支付内容")
    private String text;

    // 支付方式
    private BaseDataPayType baseDataPayType;

    public BaseDataPayType getBaseDataPayType() {
        return baseDataPayType;
    }

    public void setBaseDataPayType(BaseDataPayType baseDataPayType) {
        this.baseDataPayType = baseDataPayType;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }
    public void setPayTypeId(String payTypeId)
    {
        this.payTypeId = payTypeId;
    }

    public String getPayTypeId()
    {
        return payTypeId;
    }
    public void setPayAmount(BigDecimal payAmount)
    {
        this.payAmount = payAmount;
    }

    public BigDecimal getPayAmount()
    {
        return payAmount;
    }
    public void setText(String text)
    {
        this.text = text;
    }

    public String getText()
    {
        return text;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("payTypeId", getPayTypeId())
            .append("payAmount", getPayAmount())
            .append("text", getText())
            .toString();
    }
}
